splittext() avec dautre symbole py

24

import re

text = "python is, an easy;language; to, learn."
print(re.split('; |, ', text))

Comments

Submit
0 Comments